package com.example.school.service;


import com.example.school.entity.Course;
import com.example.school.entity.Student;
import com.example.school.entity.XuanKe;
import com.example.school.mapper.CourseMapper;
import com.example.school.mapper.XuanKeMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;


@Slf4j
@Service
public class XuanKeService {

    @Autowired
    private CourseMapper courseMapper;

    @Autowired
    private XuanKeMapper xuanKeMapper;




    public List<XuanKe> getByUsersId(Student studentNumber) {
        List<XuanKe> xuanKe = xuanKeMapper.getByUsersId(studentNumber);
        return xuanKe;
    }


}